class Solution {
    public void moveZeroes(int[] nums) {
        int len = nums.length;
         if(0 == len||null == nums) {
             return ;
         }
        int left = 0,right = 0;
        while(right<len) {
           if(nums[right]!=0) {
               if(right>left) {
                   nums[left] = nums[right];
                   nums[right] = 0;
               } 
                left++; 
           }
           right++;
        }
    }
}